﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerHome.aspx.cs" MasterPageFile="~/CustomerPortal/CustomerPortal.Master"
    Inherits="OptusMobile.Web.CustomerPortal.CustomerHome" %>

<%--<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="Stylesheet" href="../css/Customer.css" type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">--%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
    <div class="BackgroundArea">
        <div class="MainshowArea">
            <div class="ContractandPersoninfo">
                <div class="ContractSummery">
                    <table>
                        <tr>
                            <td id="tabletitle" colspan="4">
                                Contract Summary
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                                <asp:Label ID="Label1" runat="server" Text="Plan"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelPlanName" runat="server"></asp:Label>
                            </td>
                            <td class="tdName">
                                <asp:Label ID="Label5" runat="server" Text="MobileNumber"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelMobileNumber" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="doubletr">
                            <td class="tdName">
                                <asp:Label ID="Label2" runat="server" Text="ContractState"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelContractState" runat="server"></asp:Label>
                            </td>
                            <td class="tdName">
                                <asp:Label ID="Label6" runat="server" Text="Handset"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelHandset" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                                <asp:Label ID="Label3" runat="server" Text="StartDate"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelStartDate" runat="server"></asp:Label>
                            </td>
                            <td class="tdName">
                                <asp:Label ID="Label7" runat="server" Text="EndDate"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelEndDate" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="doubletr">
                            <td class="tdName">
                                <asp:Label ID="Label4" runat="server" Text="ExData Pack"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelExtraData" runat="server"></asp:Label>
                            </td>
                            <td class="tdName">
                                <asp:Label ID="Label8" runat="server" Text="ExSMS Pack"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelExtraMessage" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                            </td>
                            <td class="tdValue">
                            </td>
                            <td class="tdName">
                                &nbsp;&nbsp;
                            </td>
                            <td class="tdValue">
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="PersionInfo">
                    <table>
                        <tr>
                            <td id="tabletitle" colspan="4">
                                Personal Information
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                                <asp:Label ID="Label13" runat="server" Text="Name:"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelName" runat="server"></asp:Label>
                            </td>
                            </td>
                        </tr>
                        <tr id="doubletr">
                            <td class="tdName">
                                <asp:Label ID="Label15" runat="server" Text="Age:"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelAge" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                                <asp:Label ID="Label17" runat="server" Text="Gender:"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelGender" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="doubletr">
                            <td class="tdName">
                                <asp:Label ID="Label19" runat="server" Text="Occupation:"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelOccupation" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="tdName">
                                <asp:Label ID="Label21" runat="server" Text="Email:"></asp:Label>
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="LabelEmail" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="useHistory">
                <asp:ListView ID="ListViewHistory" runat="server">
                    <LayoutTemplate>
                        <table runat="server">
                            <tr id="tabletitle">
                                <td colspan="7">
                                    Usage History
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="Label36" CssClass="tdName" runat="server" Text="Month" />
                                </td>
                                <td>
                                    <asp:Label ID="Label10" CssClass="tdName" runat="server" Text="CallTimetoOptus(Mins)" />
                                </td>
                                <td>
                                    <asp:Label ID="Label43" CssClass="tdName" runat="server" Text="CallTimetoOther(Mins)" />
                                </td>
                                <td>
                                    <asp:Label ID="Label20" CssClass="tdName" runat="server" Text="Data(MB)" />
                                </td>
                                <td>
                                    <asp:Label ID="Label25" CssClass="tdName" runat="server" Text="MSGtoOptus" />
                                </td>
                                <td>
                                    <asp:Label ID="Label27" CssClass="tdName" runat="server" Text="MSGtoOther" />
                                </td>
                            </tr>
                            <tr runat="server" id="itemPlaceholder">
                            </tr>
                        </table>
                        <asp:DataPager runat="server" ID="DataPager" PageSize="6">
                            <Fields>
                                <asp:NumericPagerField ButtonCount="5" PreviousPageText="<--" NextPageText="-->" />
                            </Fields>
                        </asp:DataPager>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr id="Tr1" class="usehistoryrow" runat="server">
                            <td class="tdValue">
                                <asp:Label ID="LabelDate" runat="server" Text='<%#Eval("BuildDate","{0:Y}") %>' />
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="Label42" runat="server" Text='<%#Eval("TotalCallTimeToOptus") %>' />
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="Label44" runat="server" Text='<%#Eval("TotalCallTimeToOther") %>' />
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="Label22" runat="server" Text='<%#Eval("Data") %>' />
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="Label26" runat="server" Text='<%#Eval("MessageToOptus") %>' />
                            </td>
                            <td class="tdValue">
                                <asp:Label ID="Label28" runat="server" Text='<%#Eval("MessageToOther") %>' />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>
            </div>
            <div class="monthlyuse">
                <table>
                    <tr>
                        <td id="tabletitle" colspan="4">
                            Your average useage in last six months
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Calls to Optus" ID="Label31"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveCallsToOptus"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Calls to Others" ID="Label37"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveCallsToOther"></asp:Label>
                        </td>
                    </tr>
                    <tr id="doubletr">
                        <td class="tdName">
                            <asp:Label runat="server" Text="TotalTimeToOptus" ID="Label32"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveCallTimeToOptus"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="TotalTimeToOther" ID="Label46"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveCallTimeToOther"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName">
                            <asp:Label runat="server" Text="TotalCallValue" ID="Label45"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveTotalCallValue"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Message To Optus" ID="Label39"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveMessageToOptus"></asp:Label>
                        </td>
                    </tr>
                    <tr id="doubletr">
                        <td class="tdName">
                            <asp:Label runat="server" Text="Message To Other" ID="Label49"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveMessageToOther"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Total Message Value" ID="Label47"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveTotalMessageValue"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Data" ID="Label48"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveData"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Data Value" ID="Label111"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveDataValue"></asp:Label>
                        </td>
                    </tr>
                    <tr id="doubletr">
                        <td class="tdName">
                            <asp:Label runat="server" Text="Total Value" ID="Label33"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveTotalValue"></asp:Label>
                        </td>
                        <td class="tdName">
                            <asp:Label runat="server" Text="Actual Fee" ID="Label51"></asp:Label>
                        </td>
                        <td class="tdValue">
                            <asp:Label runat="server" ID="LabelAveActualFee"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="planandpack">
                <table>
                    <tr>
                        <td id="tabletitle" colspan="4">
                            Plan and package upgrade option for you!
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName" colspan="2">
                            <asp:Label ID="LabelOptionText1" runat="server"></asp:Label>
                        </td>
                        <td class="tdValue" colspan="2">
                            <asp:Label ID="LabelOptionName1" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr id="doubletr">
                        <td class="tdName" colspan="2">
                            <asp:Label ID="LabelOptionText2" runat="server"></asp:Label>
                        </td>
                        <td class="tdValue" colspan="2">
                            <asp:Label ID="LabelOptionName2" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName" colspan="2">
                            <asp:Label ID="LabelOptionText3" runat="server"></asp:Label>
                        </td>
                        <td class="tdValue" colspan="2">
                            <asp:Label ID="LabelOptionName3" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr id="Tr2">
                        <td id="longtext"colspan="4">
                            <asp:Label runat="server" CssClass="saveValue" ID="LabelUpgradeValue"></asp:Label>
                        </td>
                    </tr>
                    <tr id="doubletr">
                        <td class="tdName" colspan="4">
                            <asp:Label runat="server" CssClass="saveValue" ID="LabelSaveValue"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="ReArea">
            <table>
                <tr>
                    <td>
                        <asp:Label ID="Label9" runat="server" Text="Handsets you may like!"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image1" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset1" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image2" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset2" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image3" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset3" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image4" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset4" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image5" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset5" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image6" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset6" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image7" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset7" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image8" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset8" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image9" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset9" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:ImageButton ID="Image10" runat="server" OnClick="ImageButton_Click" Visible="False" />
                        <br />
                        <asp:Label ID="LabelRecHandset10" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
<%--    </form>
</body>
</html>
--%>